package cn.body.daw.config;

/*import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;*/

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: lvye
 * @createDate: 2024-09-19
 * @FileName: IgnoreWhitesProperties
 * 自定义内容:
 */
@RefreshScope //动态配置刷新
@Configuration
@ConfigurationProperties(prefix = "security.ignore")
public class IgnoreWhitesProperties {
    private List<String> whites = new ArrayList<>();

    public List<String> getWhites() {
        return whites;
    }

    public void setWhites(List<String> whites) {
        this.whites = whites;
    }
}
